package org.logsin37.tool.eurekamanager.domain.entity;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Eureka Instance Port
 *
 * @author logsin37 2020/01/19 16:28
 */
@Getter
@Setter
@Accessors(chain = true)
@ToString(doNotUseGetters = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EurekaInstancePort {

    @JsonAlias("$")
    private Long port;

    @JsonAlias("@enabled")
    private String enabled;

}
